jQuery(document).ready(function() {

    jQuery('.delete_post').live('click', function() {

        var conf = confirm("Are you sure?")
        if (!conf) {
            return false;
        }

        window.location.href = jQuery(this).attr('href');

        return false;

    });

});